package com.showcase.cloud.gateway.utils;

import com.sun.showcase.utils.LoginContext;

public class TokenContexHolder {
    private static final ThreadLocal<String> CONTEXT = new ThreadLocal<String>();
    private TokenContexHolder(){
    }
    public static void put(String context){
        CONTEXT.set(context);
    }
    public static String get(){
        return CONTEXT.get();
    }
    public static void clear(){
        CONTEXT.remove();
    }
}
